count

val count: Int = 5

Parameters

count

number of dominant colors to extract. The returned palette may contain fewer entries for images with very little variation, and is empty when count is 0. Defaults to 5.